from meiduo_admin.mypakge import *
from django.contrib.auth.models import Permission, ContentType, Group
from meiduo_admin.serializers.group_serilziers import *

class GROUP___GroupModelViewSet(ModelViewSet):
    queryset = Group.objects.all()
    serializer_class = GROUP___GroupModelSerializer
    pagination_class = MyPage

class GROUP___GroupPermViewSet(ListAPIView):
    queryset = Permission.objects.all()
    serializer_class = GROUP___GroupPremSerializer


